<html><head><title>GetMaterialAttribute</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">GetMaterialAttribute()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#006666"><b>GetMaterialAttribute</b></font>(#Material, Attribute)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Get the specified material attribute. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Material</i></td>
<td width="90%"> 
The material to use. 

</td></tr>
<tr><td><i>Attribute</i></td>
<td> 
The attribute to get. It can be one of the following values: 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Material_Shininess</font>     : get the material shininess, as set with <a href="materialshininess.html">MaterialShininess()</a>.
  <font color="#924B72">#PB_Material_TextureRotate</font> : get the material rotate value, in degree.
  <font color="#924B72">#PB_Material_TextureUScale</font> : get the material uscale value, see <a href="scalematerial.html">ScaleMaterial()</a>.
  <font color="#924B72">#PB_Material_TextureVScale</font> : get the material vscale value, see <a href="scalematerial.html">ScaleMaterial()</a>.
  <font color="#924B72">#PB_Material_TextureUScroll</font>: get the material uscroll value, see <a href="scrollmaterial.html">ScrollMaterial()</a>.
  <font color="#924B72">#PB_Material_TextureVScroll</font>: get the material vscroll value, see <a href="scrollmaterial.html">ScrollMaterial()</a>.
  <font color="#924B72">#PB_Material_DepthCheck</font>    : get the material depth check state (enabled or disabled).
  <font color="#924B72">#PB_Material_DepthWrite</font>    : get the material depth write state (enabled or disabled).
  <font color="#924B72">#PB_Material_Lighting</font>      : get the material lightning value, as set with <a href="disablemateriallighting.html">DisableMaterialLighting()</a>.
  <font color="#924B72">#PB_Material_ShadingMode</font>   : get the material shading mode value, as set with <a href="materialshadingmode.html">MaterialShadingMode()</a>.
  <font color="#924B72">#PB_Material_CullingMode</font>   : get the material culling mode value, as set with <a href="materialcullingmode.html">MaterialCullingMode()</a>.
</font></pre>

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

The value of the specified attribute. 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=freematerial.html>FreeMaterial()</a> - <a href=index.html>Material Index</a> - <a href=getmaterialcolor.html>GetMaterialColor()</a> ->

</body></html>